home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / Re Feedbacks and Questions -.3 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  923 b   |  [TEXT/ttxt]

  1. Subject:     Re: Feedbacks and Questions - ODF R1
  2. Sent:        5/19/96 4:49 PM
  3. Received:    5/22/96 8:31 AM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Given the suggestions above, I tried to modify ODFButton.
  9. >I've read about used shape in OpenDoc Programmer's guide, but I was not
  10. >sure where to put the methods like ChangeUsedShape and UsedShapeChanged
  11. >( Are these used in ODF? ). So what I did is modifying Draw method just as 
  12. >the same as ODFClock does.
  13.  
  14. Look at the ODFClock. It maintains an oval used shape which is very 
  15. similar to what you want to do.
  16.  
  17. >Although I tried with roundRect, CW8 reports errors about FW_kFrame and 
  18. >FW_kFill so I just did it to see what's gonna happen with oval.
  19.  
  20. Check the API of FW_CRoundRectShape::RenderRoundRect. It has more 
  21. parameters than RenderOval.
  22.